<h1><?=$user->first_name?> <?=$user->last_name?>'s Profile</h1>

<p><span id="breadcrumbs"><a href="profile"><< Back to your profile page</a></span></p>

<form method="post" action="edit_profile">
	<p><span id="edit_labels">First Name:</span><input type="text" name="first_name" value="<?=$user->first_name?>" /> <?=form_error('first_name')?></p>
	<p><span id="edit_labels">Last Name:</span><input type="text" name="last_name" value="<?=$user->last_name?>" /> <?=form_error('last_name')?></p>
	<p><span id="edit_labels">Email:</span><?=$user->email?><br />
		<span id="edit_labels">&nbsp;</span><a href="<?=base_url()?>users/change_email">Change your email</a></p>
	<p><span id="edit_labels">Country:</span><?=form_dropdown('country_id', $countries, $user->country_id)?></p>
	<p><span id="edit_labels">Timezone:</span><?=timezone_menu($user->timezone)?></p>
	<p><input type="submit" onClick="return confirm('Are you sure you want to make the following changes?')" value="Save" />&nbsp;&nbsp;&nbsp;
		<a href="<?=base_url()?>users/profile/" onClick="return confirm('Are you sure you want to cancel the changes?')" style="text-decoration: none"><input type="button" value="Cancel" /></a></p>
</form>